f = open("output.txt", "w")
i = 0
while i < 10000000:
    f.write("%s %s\n" % (str(i), str(-i)))
    i += 1
f.close()